/**
 * Created by guobaogang on 2019-2-25.
 */
import React, {Component} from 'react';
import ReactDOM from 'react-dom';
import 'src/hrpub/common/static/fonts/iconfont.css'
import {createPage} from 'nc-lightapp-front';

import HomePage from './container';
import {getAppPageConfig} from "src/hrpub/common/utils/utils";
const appcode = getAppPageConfig().appcode, pagecode = getAppPageConfig().pagecode;

let ContOpinion = createPage({
    billinfo: [{
        billtype: 'form',
        pagecode: appcode,
        headcode: 'contopinion'
    }, {
        billtype: 'grid',
        pagecode: appcode,
        bodycode: 'contopiniongrid'
    }, {
        billtype: 'form',
        pagecode: appcode,
        headcode: 'ctrtoperatedlg'
    }, {
        billtype: 'grid',
        pagecode: appcode,
        bodycode: 'contopinionadd'
    }, {
        billtype: 'grid',
        pagecode: appcode,
        bodycode: 'agreementgrid'
    }]
})(HomePage);
ReactDOM.render(<ContOpinion
        pagecode={pagecode}
        appcode={appcode}/>,
    document.querySelector('#app'));
